﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="SLogin.aspx.cs" Inherits="eFrameWork.WXWork.SLogin" %>
<%@ Import Namespace="EKETEAM.FrameWork" %>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
      <script src="http://rescdn.qqmail.com/node/ww/wwopenmng/js/sso/wwLogin-1.0.0.js"></script>
     <script src="../Scripts/jquery.js?ver=1.0.61"></script>
</head>
 <style>
.impowerBox .qrcode {width: 200px;}
.impowerBox .title {display: none;}
.impowerBox .info {width: 200px;}
.status_icon {display: none  !important}
.impowerBox .status {text-align: center;}

</style>
<body>
     <div id="login_container"></div>
</body>
</html>
<script>


    

$(function(){
    //alert(window.WwLogin);
    window.WwLogin({
        "id": "login_container",
        "appid": "<%=eBase.WXWorkAccount.getValue("CorpID")%>",
        "agentid": "<%=eBase.WXWorkAccount.getValue("AgentId")%>",
        "redirect_uri": "<%=HttpUtility.UrlEncode("http://oa.5xing.com.cn/wxWork/ScanLogin.aspx")%>",
        "state": "<%=HttpUtility.UrlEncode(fromURL)%>",
        "href": "",
    });
});

</script>